#coding=utf-8
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
from django.db import models

class users(models.Model):
    name = models.CharField(max_length=16,verbose_name="姓名",null=False,blank=False)
    tel=models.IntegerField(verbose_name="手机号",null=False,blank=False)
    addr = models.CharField(max_length=80,verbose_name="地址",null=True,blank=True)
    age=models.IntegerField(verbose_name="年龄",null=True,blank=True)

class custom_pem(models.Model):
    #
    class Meta:
        permissions = (
            ("projects", u"项目(projects_pags)"),
            ("index", u"主页(index)"),
            ("works", u"接口获取(works_pags)"),
            ("test", u"测试功能(test_pags)"),
        )
